package com.tamtoucan.tameablecreepers.client;

import net.minecraft.entity.Entity;
import net.minecraft.world.World;

import com.tamtoucan.tameablecreepers.ModConstants;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

public class SoundHandler {

    @SideOnly(Side.CLIENT)
    public static void onEntityPlay(String name, World world, Entity entity, float vol, float pitch) {
    	world.playSoundAtEntity(entity,  (ModConstants.MOD_ID +":"+name), vol, pitch);
    	}
}